agent369 Posted April 7, 2014 Report Share Posted April 7, 2014 Boas Então é assim, preciso de fazer uma página em php para mostrar as fotos do twitter, instagram e facebook de uma certa hashtag, ou seja procurava pela hashtag #portugal-a-programar e retornava as fotos nas redes sociais. Agora o problema, o Twitter e o Instagram funcionaram sem problemas nenhum, o problema é mesmo o facebook que não tem API para hashtags. Alguém sabe alguma maneira/api não oficial de conseguir tirar as fotos? Obrigado Link to comment Share on other sites More sharing options...
I-NOZex Posted April 7, 2014 Report Share Posted April 7, 2014 (edited) ve se isto assim ajuda 😉 I resolved this question in that way: It's possibile query for hashtag using, instead of #, the corrispondent URL conding '%23' in query string. Es : https://graph.facebook.com/search?q=%23myhashtag. This method seems working fine. in: http://stackoverflow.com/questions/19034754/facebook-api-search-for-hashtag Edited April 7, 2014 by I-NOZex B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net Link to comment Share on other sites More sharing options...
agent369 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Obrigado pela resposta mas já tinha visto esse exemplo e funcionar funciona, o problema é que ele retorna textos sem hashtag (ou seja só pela keyword sem o "#") e retorna também registos de que a pessoa X partilhou o estado onde nem sequer tinha a hashtag mas sim a keyword. Resultado: uma grande confusão e em 20 post's só aparece 1 que tenha mesmo a hashtag Link to comment Share on other sites More sharing options...
I-NOZex Posted April 7, 2014 Report Share Posted April 7, 2014 (edited) pois por agora nao tens grande alternativa sem api oficial... e isto? www.staynalive.com/2013/06/developers-heres-how-you-access.html# Edited April 7, 2014 by I-NOZex B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now