$fields['url']);*/ $fields_dup['data'] = array("postid" => $post->ID, "sharelink" => $fields['url']); $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $fields_dup['big_picture'] = $url; $fields_dup['buttons'] = '[{"id": "id1", "text": "Settings", "icon": "ic_menu_manage"}, {"id": "id2", "text": "Share", "icon": "ic_menu_share"}]'; unset($fields_dup['url']); /* Send another notification via cURL */ $ch = curl_init(); $onesignal_post_url = "https://onesignal.com/api/v1/notifications"; /* Hopefully OneSignal::get_onesignal_settings(); can be called outside of the plugin */ $onesignal_wp_settings = OneSignal::get_onesignal_settings(); $onesignal_auth_key = $onesignal_wp_settings['app_rest_api_key']; curl_setopt($ch, CURLOPT_URL, $onesignal_post_url); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Authorization: Basic ' . $onesignal_auth_key )); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields_dup)); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Optional: Turn off host verification if SSL errors for local testing // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); /* Optional: cURL settings to help log cURL output response curl_setopt($ch, CURLOPT_FAILONERROR, false); curl_setopt($ch, CURLOPT_HTTP200ALIASES, array(400)); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_STDERR, $out); */ $response = curl_exec($ch); /* Optional: Log cURL output response fclose($out); $debug_output = ob_get_clean(); $curl_effective_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL); $curl_http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); $curl_total_time = curl_getinfo($ch, CURLINFO_TOTAL_TIME); onesignal_debug('OneSignal API POST Data:', $fields); onesignal_debug('OneSignal API URL:', $curl_effective_url); onesignal_debug('OneSignal API Response Status Code:', $curl_http_code); if ($curl_http_code != 200) { onesignal_debug('cURL Request Time:', $curl_total_time, 'seconds'); onesignal_debug('cURL Error Number:', curl_errno($ch)); onesignal_debug('cURL Error Description:', curl_error($ch)); onesignal_debug('cURL Response:', print_r($response, true)); onesignal_debug('cURL Verbose Log:', $debug_output); } */ curl_close($ch); return $fields; } ?> Amazing facts about Indian republic day | Amazing Facts

Amazing facts about Indian republic day 26th January every Indian should know

Amazing Facts

Constitution of india1.Indian constitution came into effect officially on 26th January 1950 at 10:30 am after that India became republic of India.

Purna swaraj day

2.Before 1950 the day was celebrated as Purna swaraj day, it’s a day India decided to fight for complete freedom.

3.The Indian constitution is the longest written constitution in the world it has incorporated 448 articles in 22 parts 12 schedules and 97 amendments.

constitution of india

 

4. The concept of liberty, equality, fraternity came from French constitution while five year plan came from USSR constitution. It took around 2 years 11 months and 18 days to complete.

5. The two copies of Indian constitution were hand written one in English and one in Hindi both were signed by 308 members of assembly on 24th January 1950 and it has been preserved in the helium filled cases at the library of parliament.

Dr rajendra prasad

6. The first president of India Dr Rajendra Prasad took oath at durbar hall of government house on 26th January 1950 and became the first president of republic India.

bharath ratna award

7. The majority of national awards such as Bharath Ratna, Padmabhushan, Kirthi chakra are awarded during the ceremony.

8. Indian constitution is only calligraped not printed, till date only 1000 copies were written.8. Indian constitution is only calligraped not printed, till date only 1000 copies were written.

Amar jothi9. The prime minister places a wreath at Amar Jawan Jothi as a tribute to thousands of Indian soldiers who given their life for our independence.

gun salute10. The 21 gun salute is the firing of arms and cannons as a military mark of honour. The salute is given while the president of India unfurls the national flag.

11. President Sukarno of Indonesia11. President Sukarno of Indonesia was the first chief guest of republic day celebration held on 26 January 1950.

Malik Gulam Mohammed12. Malik Gulam Mohammed first governor general of Pakistan was the first chief guest of Rajpath parade held on 1955.

retreat ceremony13.Republic day celebration is a three day National festival celebrated by every citizen of India, special a grand ceremony has been organized at National capital New Delhi. The function comes to end with the beating treat ceremony at Vijay chowk.

14. A Christian song abide with me is played at republic day parade is believed to be one of the favorite song of Mahatma Gandhi.

JAI HIND……