الاشتراك في:
تعليقات الرسالة (Atom)
الجروب
import requests
# Facebook API
app_id = 'YOUR_APP_ID'https://facebook.com/groups/511597876242209/
app_secret = 'YOUR_APP_SECRET'
group_id = 'GROUP_ID'https://facebook.com/groups/511597876242209/
access_token = 'ACCESS_TOKEN'
# Blogger API
blog_id = 'BLOG_ID'
api_key = 'API_KEY'
# الحصول على منشورات الجروب
url = f'https://graph.facebook.com/v13.0/{group_id}/feed?access_token={access_token}'
response = requests.get(url)
posts = response.json()['data']
# نشر المقالات على المدونة
for post in posts:
    title = post['message'][:50]
    content = post['message']
    data = {'title': title, 'content': content}
    url = f'https://www.googleapis.com/blogger/v3/blogs/{blog_id}/posts'
    headers = {'Authorization': f'Bearer {api_key}'}
    response = requests.post(url, headers=headers, json=data)
    print(response.json())
.اخبار عاجله
اخبار
أحدث الأخبار العالمية
مصدر الأخبار: NewsAPI
تابعنا
من نحن
    جارٍ تحميل الأخبار...
تابعنا علي الفيس بوك
الوان
صفحات الشعراء والادباء
شعراء وادباء
مشاركات شائعة
- 
Who will inherit the earth, O free people, how long will the wait be? Light the candles for the world that wants us to live in darkness. Lig...
 - 
The New Year.... Written by Mahmoud Abdel Hamid Issa, Arab Republic of Egypt 1/1/2024 The first of January every year I send my congratulati...
 - 
<style type="text/css"> .shahd{ border-top : 1px solid #eeeeee; border-right : 2px solid #cccccc; border-bottom : 2px soli...
 
شائع هذا الأسبوع
- 
Who will inherit the earth, O free people, how long will the wait be? Light the candles for the world that wants us to live in darkness. Lig...
 - 
The New Year.... Written by Mahmoud Abdel Hamid Issa, Arab Republic of Egypt 1/1/2024 The first of January every year I send my congratulati...
 - 
<style type="text/css"> .shahd{ border-top : 1px solid #eeeeee; border-right : 2px solid #cccccc; border-bottom : 2px soli...
 - 
لن أغادر لا ..لن أغادر لقد تمنيت المستحيل وإني لقلبك لا ابغي عنه الرحيل ولعشقك بشوق قلبى به كفيل ولروحك أقطن سكن الخليل فأنا من غير حبك إ...
 - 
نيسانة لهفتي *********** في كنف الحبّ..... أيحق لي أن أستريح ؟؟؟؟ أشواقك .....تغلي مراجلها وقلبي يأبى إغماض جفنه هطلات الحب تروي جنبات ريا...
 - 
من ديوان / أوراق من ذاكرة الشتاء على ابواب احرف الذهول - ورقة 1 ...
 - 
A conversation that does not lack frankness... Written by / Saleh Mansour She.. How are you doing? What is it.. It is strange for the killer...
 - 
الله أكبر ******* بقلمي/السيد عطاالله الله أكبر تهز الكيان الله أكبر بكل الأركان الله أكبر المقاوم بان الله أكبر على الجبان الله أكبر لغزه ع...
 - 
بقلم بدر شحود . سوريا ****(( عدت ياعيد ))**** أي عيد يسعد الأمم فيه الحسرات والآهات والندم مضت سنين العجاف وأنتجت ويلات ودمار وقتل وسقم كل...
 - 
Let your pen speak. Let your pen speak. Let your pen revolt. Why are you afraid and stuttering? Let fear engulf fear. Fear is removed. We ar...
 
شعراء وادباء
آخر الأخبار

0 التعليقات