Posts by Raul Mangolin • 477 points
11 posts
-
1
votes1
answer132
viewsA: Do not select in case of null value in the database field (Django)
The easiest way to do this is to exclude using the condition isnull. User.objects.exclude(twitter_id=select_me.twitter_id, gender__isnull=True) If you also need to delete the empty but not null data…
-
1
votes1
answer34
viewsQ: Invalid Configuration when saving Synonyms in Cloudsearch via PHP SDK
I’m trying to add synonyms in Cloudsearch via PHP SDK, but it’s always returning "Invalid Configuration". I am using the same configuration for Stopwords and it works normally. My PHP: use…
-
4
votes1
answer251
viewsA: Post in Timeline Facebook
To publish on Timeline user must request a call permission publish_actions and by requesting this permission your app will need to go through a approval of Facebook. Despite all this your…
-
3
votes2
answers13442
viewsA: Add image in shared link on Facebook
To make sure that Facebook will pick up the image you need to use the og:tags. The basic tags you need to insert on your website: <meta property="og:title" content="The Rock" /> <meta…
facebookanswered Raul Mangolin 477 -
2
votes1
answer2366
viewsA: How to create an app on Facebook to share social network posts
The best - and most correct - way to do this is by using Facebook’s Javascript SDK. Take a look at documentation before starting it is well worth it. It is well didactic. Starting the JS SDK Create…
-
0
votes1
answer1338
viewsA: How to get phone number via facebook API
Fortunately/Unfortunately it is no longer possible to pick up the user’s phone via API. Last year I asked this question to Luz Caballero, Facebook Developer Advocate, at PHP Conference Argentina…
-
2
votes2
answers2133
viewsA: Metadata OGP.ME What is the ideal image size for social networks
According to the good practices on Facebook, the recommended image is to have at least 1200x630px to be better displayed on high resolution devices. The recommended minimum for a long time is…
-
1
votes2
answers645
viewsA: Facebook does not allow the presentation of posts in iframes?
You don’t need to create an iframe with the Facebook post. You can use the Facebook Embedded Posts. It automatically creates an iframe with the post you want. Just pass the link.…
-
3
votes2
answers3573
viewsQ: Competing transactions in Mysql
I am working on a system that needs to draw multiple data(coupons) from one table and return to the user, but I cannot risk delivering the same coupon to the other user. I thought I’d use the…
-
13
votes6
answers20131
viewsA: Difference between single and double quotes in PHP
As stated in the other answers, single quotes are literal and double quotes are interpretative. Because they have a different memory consumption, an important point when choosing to use single or…
-
4
votes3
answers4295
viewsA: How to count amount of Likes from a page?
You can also use the direct Graph API as in the example below: To a URL http://graph.facebook.com/? id=http://answall.com { "id": "http://answall.com", "shares": 1446 } For two or more just separate…
facebookanswered Raul Mangolin 477